package com.sirc.zp.domain;

/**
 * Created by wpx on 2018/3/7.
 */
public class Role {
    private Integer rid;//角色的主键
    private String rolename;//角色的名称
    private String roleintr;//角色的介绍
    private Integer uid; //哪一个用户设立的角色

    public Role() {
    }

    public Role(Integer rid, String rolename, String roleintr, Integer uid) {
        this.rid = rid;
        this.rolename = rolename;
        this.roleintr = roleintr;
        this.uid = uid;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public String getRoleintr() {
        return roleintr;
    }

    public void setRoleintr(String roleintr) {
        this.roleintr = roleintr;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Role{" +
                "rid=" + rid +
                ", rolename='" + rolename + '\'' +
                ", roleintr='" + roleintr + '\'' +
                ", uid=" + uid +
                '}';
    }
}
